package com.ehome.poct.core.api.vo.order;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import net.minidev.json.annotate.JsonIgnore;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @description: 检测订单
 * @auther: muqiu
 * @date: 2022/10/12 9:45
 */
@Data
@Accessors(chain = true)
public class OrderVO {

    @ApiModelProperty(value = "患者姓名")
    private String name;

    @ApiModelProperty(value = "患者年龄")
    private BigDecimal age;

    @ApiModelProperty(value = "月份")
    private Integer month;

    @ApiModelProperty(value = "患者性别1：男 2:女")
    private Integer sex;

    @ApiModelProperty(value = "预约码")
    private String reservationCode;

    @ApiModelProperty(value = "费用")
    private BigDecimal payMoney;

    @ApiModelProperty(value = "检测项目")
    private String testItem;

    @ApiModelProperty("订单状态(0:待支付已完成检测 25：待支付（未完成检测）26:待检测（已支付）27：检测中 20：已完成 8：已取消/已过期)")
    private Integer status;

    @ApiModelProperty(value = "检测订单号")
    @JsonIgnore
    private String testOrderNo;

    @ApiModelProperty(value = "检测订单号")
    @JsonIgnore
    private Long patientId;

    @ApiModelProperty("创建时间")
    @JsonIgnore
    private LocalDateTime createTime;

    @ApiModelProperty("订单支付剩余时间")
    private Integer orderTime;

}
